home *** CD-ROM | disk | FTP | other *** search
- //
- //
- // EFTMPLT.TXT
- // English-French Sample Templates for Power Translator 6.x
- //
-
-
- // *********************************************************************
- // NOUN NOUN ==> NOUN DE NOUN DE NOUN
- //
- // Example: cat whisker tips ==> bouts de moustache de chat
- //
- // SOURCE.1 = cat; SOURCE.2 = whisker; SOURCE.3 = tip;
- // TARGET.1 = bouts; TARGET.2 = moustache; TARGET.3 = chat
- // *********************************************************************
-
- // RULESET1
- // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.1
-
- <HasAttr Noun:"SOURCE.1">
- <HasAttr Noun:"SOURCE.2">
- <HasAttr Noun:"SOURCE.3">
-
- ==>
-
- <1 SetAttr Noun:"SOURCE.1">
- <2 SetAttr Noun:"SOURCE.2">
- <3 SetAttr Noun:"SOURCE.3">;
-
-
- // RULESET2
- // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
-
- <IsAttr Noun: "SOURCE.1">
- <IsAttr Noun: "SOURCE.2">
- <IsAttr Noun: "SOURCE.3">
-
- ==> <3 Target.ChangeWord "TARGET.1"> AddTargetWord("de", Preposition)
- <2 Target.ChangeWord "TARGET.2"> AddTargetWord("de", Preposition)
- <1 Target.ChangeWord "TARGET.3">;
-
-
- // *********************************************************************
- // NOUN NOUN ==> NOUN DE NOUN
- //
- // Example: cat whiskers ==> moustaches de chat
- //
- // SOURCE.1 = cat; SOURCE.2 = whiskers;
- // TARGET.1 = moustaches; TARGET.2 = chat
- // *********************************************************************
-
- // RULESET1
- // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.1
-
- <HasAttr Noun:"SOURCE.1">
- <HasAttr Noun:"SOURCE.2">
-
- ==>
-
- <1 SetAttr Noun:"SOURCE.1">
- <2 SetAttr Noun:"SOURCE.2">;
-
-
- // RULESET2
- // Procedure = Depth Traverse; Stage = Frame; Key = SOURCE.1
-
- <IsAttr Noun: "SOURCE.1">
- <IsAttr Noun: "SOURCE.2">
-
- ==> <2 Target.ChangeWord "TARGET.1"> AddTargetWord("de", Preposition) <1 Target.ChangeWord "TARGET.2">;
-
-
- // *********************************************************************
- // NOUN NOUN ==> NOUN ADJ
- //
- // Example: nursery school ==> Θcole maternelle
- //
- // SOURCE.1 = nursery; SOURCE.2 = school;
- // TARGET.1 = Θcole; TARGET.2 = maternel
- // *********************************************************************
-
- // RULESET1
- // Procedure = Top Traverse; Stage = Disambiguation; Key = SOURCE.2
-
- <HasAttr Noun:"SOURCE.1">
- <HasAttr Noun:"SOURCE.2">
-
- ==>
-
- <1 SetAttr Noun:"SOURCE.1">
- <2 SetAttr Noun:"SOURCE.2">;
-
-
- // RULESET2
- // Procedure = Depth Traverse; Stage = Frame; Key(s) = SOURCE.1, TARGET.1
-
- <IsAttr Noun: "SOURCE.1">
- <IsAttr Noun: "SOURCE.2">
-
- ==> <1 Delete>
- <2 Target.ChangeWord "TARGET.1">
- AddTargetWord("TARGET.2", Adjective);
-
-
-
- <Target.IsAttr Noun: "TARGET.1">
- <Target.IsAttr Adjective: "TARGET.2">
-
- ==> <1> <2 Target.AgreeWith = Node(1)> ;
-
-
-
- // *********************************************************************
- //
- // VERB FRAMES
- //
- // *********************************************************************
-
-
- // *********************************************************************
- // VERB + PARTICLE ==> VERB
- //
- // Example: pick up ==> chercher
- //
- // SOURCE.1 = pick; SOURCE.2 = up; TARGET.1 = chercher
- //
- // "pick" Particle ("up")
- // ==> "chercher";
- // *********************************************************************
-
- // RULESET1
- // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
-
- "SOURCE.1" Particle("SOURCE.2")
- ==> "TARGET.1";
-
-
- // *********************************************************************
- // VERB + ADVERB ==> VERB
- //
- // Example: come back ==> revenir
- //
- // SOURCE.1 = come; SOURCE.2 = back; TARGET.1 = revenir
- //
- // "come" Adv ("back")
- // ==> "revenir" Delete ("back");
- // *********************************************************************
-
- // RULESET1
- // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
-
- "SOURCE.1" Adv("SOURCE.2")
- ==> "TARGET.1" Delete ("SOURCE.2");
-
-
- // *********************************************************************
- // VERB + PREPOSITIONAL OBJECT ==> VERB + DIRECT OBJECT
- //
- // Example: look for ==> chercher
- //
- // SOURCE.1 = look; SOURCE.2 = for; TARGET.1 = chercher
- //
- // "look" Obj ("for")
- // ==> "chercher" Make ("for",SX_Direct);
- // *********************************************************************
-
- // RULESET1
- // Procedure = Verb Frame; Stage = Frame; Key = SOURCE.1
-
- "SOURCE.1" Obj("SOURCE.2")
- ==> "TARGET.1" Make("SOURCE.2",SX_Direct);
-
-
-